-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fix testPurgeCacheEntriesForDatabase on Windows
#129648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix testPurgeCacheEntriesForDatabase on Windows
#129648
Conversation
Our hypothesis is that the path is not round-tripping on Windows. This fixes the test by always using the canonical string for the path, when inserting and when purging. Closes elastic#129635
|
Pinging @elastic/es-data-management (Team:Data Management) |
prdoyle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test seems reasonable, and looks like what we do elsewhere to accommodate Windows. If it passes test-windows then I think we're good to go.
modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpCacheTests.java
Outdated
Show resolved
Hide resolved
|
Okay, I have made three attempts to get CI to pass, and I think it's failed three different times (at least two different times). The most recent one is in |
Our hypothesis is that the path is not round-tripping on Windows. This fixes the test by always using the canonical string for the path, when inserting and when purging. Fixes elastic#129635
Our hypothesis is that the path is not round-tripping on Windows. This fixes the test by always using the canonical string for the path, when inserting and when purging. Fixes elastic#129635
Our hypothesis is that the path is not round-tripping on Windows. This fixes the test by always using the canonical string for the path, when inserting and when purging.
Closes #129635